package com.longshen.dubbo.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.longshen.dubbo.api.mapper.AdminUserRoleMapper;
import com.longshen.dubbo.api.model.AdminUserRole;
import com.longshen.dubbo.api.service.AdminUserRoleService;
@Service
public class AdminUserRoleServiceImpl implements AdminUserRoleService {
	
	@Autowired
	private AdminUserRoleMapper mapper;


	@Override
	public AdminUserRole findByUserId(String userId) {
		AdminUserRole ur=new AdminUserRole();
		ur.setUserId(userId);
		return mapper.selectOne(ur);
	}

}
